package 算法语言基础.Day11_9;

/**
 * @projectName: JAVA编程
 * @package: 算法语言基础.Day11_9
 * @className: test01
 * @author: IT_Jay
 * @description: TODO
 * @date: 2021/11/9 10:40
 */
public class test01 {
    public static void main(String[] args) {
        int a = 5;
        for(int b = 1; b<=a; b++){
            for (int c=a-1; c>=b; c--){
                System.out.print(" ");
            }
            for (int d=1;d<=b*2-1;d++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
